//积分商城
@import '../../publicstyle/publicstyle.scss';

page {
    background-image: url('https://duomeinongchang.oss-cn-beijing.aliyuncs.com/manghetest/shangcheng-bj.png');
}

.shopmain {
    overflow-x: hidden;
    padding-bottom: 200rpx;

    .tabicon {
        margin-top: 100rpx;

        image {
            width: 295rpx;
            height: 101rpx;
        }
    }

    // userinfo
    .user_container {
        width: 696rpx;
        height: 124rpx;
        background: url('https://duomeinongchang.oss-cn-beijing.aliyuncs.com/manghetest/my-jifen-bj%20%E6%8B%B7%E8%B4%9D.png') no-repeat;
        background-size: cover;
        margin: 0 auto;
        margin-top: 18rpx;
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-shadow: 0rpx 6rpx 20rpx rgba($color: #000000, $alpha: .3);
        border-radius: 20rpx;

        .user {
            display: flex;
            margin-left: 24rpx;
            align-items: center;

            .userimg {
                width: 90rpx;
                height: 90rpx;
                border-radius: 50%;
                border: 4rpx solid #9628A5;
                margin-right: 20rpx;
            }

            .nickname {
                width: 210rpx;

                :nth-child(1) {
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    font-size: 31rpx;
                    color: #FFFFFF;
                    text-shadow: 0px 2px 0px rgba(118, 35, 166, 0.31);
                }

                :nth-child(2) {
                    font-size: 20rpx;
                    color: #5247BE;
                }
            }
        }

        .point {
            display: flex;
            justify-content: space-evenly;
            align-items: center;
            width: 297rpx;
            height: 67rpx;
            background: linear-gradient(0deg, #C464F8, #884EDB);
            border: 2rpx solid #D3B2F4;
            box-shadow: 0px 3px 0px 2px rgba(134, 0, 190, 0.2);
            border-radius: 31rpx;
            margin-right: 32rpx;

            .jifen {
                width: 83rpx;
                height: 24rpx;
                background: url('https://duomeinongchang.oss-cn-beijing.aliyuncs.com/manghetest/pointtitle.png') no-repeat;
                background-size: cover;
            }

            .shop_point {
                display: block;
                width: 47rpx;
                height: 52rpx;
            }

            :nth-child(3) {
                font-family: 'alifontheavy';
                font-size: 42rpx;
                color: #FFFFFF;
                font-weight: bolder;
                text-shadow: -1px 0 #A92BB5, 0 3px #A92BB5, 3px 0 #A92BB5, 0 -1px #A92BB5;
            }
        }

        .loginbtn {
            margin: 0 auto;

            image {
                width: 115rpx;
                height: 97rpx;
            }
        }
    }

    //search
    .search_container {
        width: 625rpx;
        height: 78rpx;
        background: url('https://duomeinongchang.oss-cn-beijing.aliyuncs.com/manghetest/search.png') no-repeat;
        background-size: 100% 100%;
        margin: 0 auto;
        margin-top: 34rpx;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 31rpx 0 42rpx;

        :nth-child(1) {
            color: #BEC5E5;

        }

        .searchicon {
            width: 43rpx;
            height: 43rpx;


        }
    }

    //tab
    .typetab {
        width: 100%;
        height: 121rpx;
        display: flex;
        align-items: center;
        margin-left: 30rpx;

        .btnbox {
            display: flex;
            flex-direction: column;
            margin-left: 4rpx;
        }

        .tabitem {
            color: #8990B4;
            margin-right: 50rpx;
            height: 52rpx;
            width: 130rpx;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 26rpx;
        }

        .checktab {
            color: #fff;
            margin-right: 50rpx;
            height: 52rpx;
            width: 130rpx;
            background: rgba($color: #4C43DC, $alpha: 0.6);
            border-radius: 26rpx;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 26rpx;
        }
    }

    //pointshop
    .point_container {
        padding-bottom: 100rpx;

        .pointtitle {
            width: 299rpx;
            height: 103rpx;

            image {
                width: 299rpx;
                height: 103rpx;
                margin-top: 11rpx;
            }
        }

        .prolist {
            display: grid;
            grid-template-columns: 333rpx 333rpx;
            width: 703rpx;
            margin: 0 auto;
            margin-top: 15rpx;
            grid-column-gap: 34rpx;
            grid-row-gap: 100rpx;

            .proitem {
                width: 333rpx;
                height: 402rpx;
                background: url('https://duomeinongchang.oss-cn-beijing.aliyuncs.com/manghetest/zise-biankuang.png') no-repeat;
                background-size: cover;
                display: flex;
                justify-content: center;
                align-items: center;

                .prodetail {
                    width: 316rpx;
                    height: 384rpx;
                    background: #ffffff;
                    border-radius: 10rpx;

                    .proname {
                        font-family: 'alifontheavy';
                        font-size: 24rpx;
                        color: #7E259F;
                        font-weight: 700;
                        padding: 2rpx 10rpx 0 10rpx;
                        display: -webkit-box;
                        -webkit-box-orient: vertical;
                        -webkit-line-clamp: 2;
                        overflow: hidden;
                        text-overflow: ellipsis;
                    }

                    .proimg {
                        width: 100%;
                        margin-top: 10rpx;

                        image {
                            display: block;
                            margin: 0 auto;
                            width: 298rpx;
                            height: 300rpx;
                        }
                    }
                }


                .changebtn {
                    width: 245rpx;
                    height: 107rpx;
                    background: url('https://duomeinongchang.oss-cn-beijing.aliyuncs.com/manghetest/jifen-btn-zise.png') no-repeat;
                    background-size: cover;
                    margin: 0 auto;
                    margin-top: -18rpx;
                    z-index: 999;


                    .btnword {
                        display: flex;
                        align-items: center;
                        justify-content: space-evenly;
                        padding-top: 10rpx;

                        :nth-child(1) {
                            width: 47rpx;
                            height: 52rpx;
                            display: block;
                            margin-top: 2rpx;
                        }

                        :nth-child(2) {
                            font-family: 'alifontheavy';
                            font-size: 42rpx;
                            color: #FFFFFF;
                            font-weight: bolder;
                            text-shadow: -1px 0 #A92BB5, 0 3px #A92BB5, 3px 0 #A92BB5, 0 -1px #A92BB5;
                        }

                        :nth-child(3) {
                            width: 44rpx;
                            height: 24rpx;
                            background: #FFFFFF;
                            background: url('https://duomeinongchang.oss-cn-beijing.aliyuncs.com/manghetest/jifen%20wenzi.png') no-repeat;
                            background-size: cover;
                            margin-top: 15rpx;
                        }
                    }

                }
            }
        }
    }
}